﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XbsWebAPI.EntityFrameworkCore.Entities
{
    /// <summary>
    /// 营位封面图
    /// </summary>
    public class CampImage: XbsBasicClass
    {

        /// <summary>
        /// 营位轮播图地址
        /// </summary>
        public string CarouselPic { get; set; }

        /// <summary>
        /// 是否设置为封面
        /// </summary>
        public bool IsCover { get; set; }

        /// <summary>
        /// 房型Id
        /// </summary>
        public Guid? CampId { get; set; }

        public virtual Camp Camp { get; set; }

    }
}
